package com.TestDemo.Test1;

import java.util.HashMap;
import java.util.HashSet;
import java.util.concurrent.TimeUnit;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: zjz
 * @Date: 2021/10/28/7:46
 * @Description:
 * @Target:
 */
public class SetAPITest {
    public static void main(String[] args) {
        HashSet<Object> set = new HashSet<>();
        set.add("1");
        set.add("2");
        System.out.println(set.contains(1));


        HashMap<Object,Object> map = new HashMap<>();
        map.containsKey('1');
        map.containsValue("1");


        System.out.println(Integer.MIN_VALUE); // -2147483648
        System.out.println(Integer.MAX_VALUE); // 2147483647





    }
}
